﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace BskLeague.Models
{
    public class Notice
    {
        [Key]
        public int noticeId { get; set; }
        public string noticeTitle { get; set; }
        public DateTime noticeDate { get; set; }
        public DateTime noticeExpDate { get; set; }
        public string noticeContent { get; set; }
        public bool noticeAccepted { get; set; }

        public virtual Player noticeAuthor { get; set; }
    }
}